package com.polaris.live.adapter

import com.polaris.live.common.adapter.BaseBindingAdapter
import com.polaris.live.common.adapter.VBViewHolder
import com.polaris.live.databinding.AdapterHomeUserHeadBinding

/**
 * HomeUserHeadAdapter
 *
 * @author Created by 半仙 on 2024/8/31/031 10:18
 */
class HomeUserHeadAdapter : BaseBindingAdapter<AdapterHomeUserHeadBinding, String>() {
    override fun convert(holder: VBViewHolder<AdapterHomeUserHeadBinding>, item: String) {
        holder.vb.apply { widgetHead.setImageUrl(item) }
    }

}